/*************************************************
 * HISTORY:                                      *
 *	06/22/2020 pyx : Created.                    *
 *	06/01/2022 pyx : Edited.                     *
=================================================*/

#ifndef DATRANSFORMER_UTIL_H
#define DATRANSFORMER_UTIL_H

#include <dirent.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>

#include <string>
#include <vector>
#include <assert.h>
#include <iostream>

#define PATH_SIZE 255

std::vector<std::string> listJsonFileName(const char *dirname);

void split(const std::string &s, std::vector<std::string> &tokens, char delim);

std::string getCWD();

void trim(std::string &s);

#endif
